package com.sanyang.lawyer.service.client;

import com.sanyang.lawyer.entity.Client_state;
import com.sanyang.lawyer.mapper.client.Client_stateMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClientStateService {
    
    @Autowired
    private Client_stateMapper stateMapper;

    //通过状态编号查询
    public Client_state getbyid(int stateid){
        return stateMapper.getbyid(stateid);
    }
    //查询所有
    public List<Client_state> listall(){
        return stateMapper.listall();
    }
    
}
